]> dgit.raspbian.org Git - gnome-shell.git/commit
init: Improve error message formatting
authorPhilip Chimento <philip.chimento@gmail.com>
Mon, 1 Jan 2024 00:13:25 +0000 (19:13 -0500)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 4 Jan 2024 18:59:33 +0000 (18:59 +0000)
commit1692004b6bb4cf03f46f973c7e2042e0495bcbd3
treec0f31c6e07ce7503f13de5966b84c7be8d698ae9
parente3ea12b8d57783a566330651383a15ecab4e6565
init: Improve error message formatting

Instead of manually formatting the error message and stack, use the same
formatting mechanism as we do when displaying errors to the user that
occur while opening extension preferences. This should correctly
indicate where syntax errors from imported modules occur.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3041>
js/ui/init.js